package com.dkd.manage.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.dkd.manage.mapper.ZcglDsjZcps1Mapper;
import com.dkd.manage.domain.ZcglDsjZcps1;
import com.dkd.manage.service.IZcglDsjZcps1Service;

/**
 * 数据一Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-02-15
 */
@Service
public class ZcglDsjZcps1ServiceImpl implements IZcglDsjZcps1Service 
{
    @Autowired
    private ZcglDsjZcps1Mapper zcglDsjZcps1Mapper;

    /**
     * 查询数据一
     * 
     * @param XZQYDM 数据一主键
     * @return 数据一
     */
    @Override
    public ZcglDsjZcps1 selectZcglDsjZcps1ByXZQYDM(String XZQYDM)
    {
        return zcglDsjZcps1Mapper.selectZcglDsjZcps1ByXZQYDM(XZQYDM);
    }

    /**
     * 查询数据一列表
     * 
     * @param zcglDsjZcps1 数据一
     * @return 数据一
     */
    @Override
    public List<ZcglDsjZcps1> selectZcglDsjZcps1List(ZcglDsjZcps1 zcglDsjZcps1)
    {
        return zcglDsjZcps1Mapper.selectZcglDsjZcps1List(zcglDsjZcps1);
    }

    /**
     * 新增数据一
     * 
     * @param zcglDsjZcps1 数据一
     * @return 结果
     */
    @Override
    public int insertZcglDsjZcps1(ZcglDsjZcps1 zcglDsjZcps1)
    {
        return zcglDsjZcps1Mapper.insertZcglDsjZcps1(zcglDsjZcps1);
    }

    /**
     * 修改数据一
     * 
     * @param zcglDsjZcps1 数据一
     * @return 结果
     */
    @Override
    public int updateZcglDsjZcps1(ZcglDsjZcps1 zcglDsjZcps1)
    {
        return zcglDsjZcps1Mapper.updateZcglDsjZcps1(zcglDsjZcps1);
    }

    /**
     * 批量删除数据一
     * 
     * @param XZQYDMs 需要删除的数据一主键
     * @return 结果
     */
    @Override
    public int deleteZcglDsjZcps1ByXZQYDMs(String[] XZQYDMs)
    {
        return zcglDsjZcps1Mapper.deleteZcglDsjZcps1ByXZQYDMs(XZQYDMs);
    }

    /**
     * 删除数据一信息
     * 
     * @param XZQYDM 数据一主键
     * @return 结果
     */
    @Override
    public int deleteZcglDsjZcps1ByXZQYDM(String XZQYDM)
    {
        return zcglDsjZcps1Mapper.deleteZcglDsjZcps1ByXZQYDM(XZQYDM);
    }
}
